package com.lyun.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.lyun.typeHandler.VarcharToStringListlTypeHandler;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;
import java.util.List;

@Data
public class PersonalVo implements Serializable {
    private Long id;
    private String avatar;
    private String nickname;
    private String gender;
    private Integer age;
    @TableField(value = "tags", typeHandler = VarcharToStringListlTypeHandler.class, jdbcType = JdbcType.VARCHAR)
    private List<String> tags;
    private Integer fateValue;
}
